package com.zx.DAO;

import com.zx.entity.Menu;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 程仟磊
 * @date 2021/7/26
 */
@Repository
public interface MenuDao {
    List<Menu> findMneuNoRid(int rid);

    List<Menu> findAllFirstMenu();

    List<Menu> findTwoMenuByParent(int parseInt);

    int updateMenuById(Menu menu);

    int deleteMenu(int mid);

    int deleterm(int mid);

    int updateMenuParent(int mid);

    int addMenu(Menu menu);
}
